home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmClipboardStartRetrieve.z
/
XmClipboardStartRetrieve
Wrap
Text File
|
1998-10-30
|
8KB
|
133 lines
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee - A clipboard function that
prepares to retrieve data from the clipboard
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/CutPaste.h>
int XmClipboardStartRetrieve (_d_i_s_p_l_a_y, _w_i_n_d_o_w, _t_i_m_e_s_t_a_m_p)
Display * _d_i_s_p_l_a_y;
Window _w_i_n_d_o_w;
Time _t_i_m_e_s_t_a_m_p;
(vvvvooooiiiidddd)
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeeetells the clipboard routines that
the application is ready to start copying an item from the
clipboard. The clipboard is locked by this routine and
stays locked until XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddEEEEnnnnddddRRRReeeettttrrrriiiieeeevvvveeee is called. Between
a call to XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee and a call to
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddEEEEnnnnddddRRRReeeettttrrrriiiieeeevvvveeee, multiple calls to
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddRRRReeeettttrrrriiiieeeevvvveeee with the same format name result in data
being incrementally copied from the clipboard until the data
in that format has all been retrieved.
A return value of _X_m_C_l_i_p_b_o_a_r_d_T_r_u_n_c_a_t_e from calls to
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddRRRReeeettttrrrriiiieeeevvvveeee indicates that more data remains to be
copied in the given format. It is recommended that any
calls to the IIIInnnnqqqquuuuiiiirrrreeee functions that the application needs to
make to complete the copy from the clipboard be made between
the call to XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee and the first call to
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddRRRReeeettttrrrriiiieeeevvvveeee. This way, the application does not need
to call XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkk and XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnlllloooocccckkkk.
_d_i_s_p_l_a_y Specifies a pointer to the DDDDiiiissssppppllllaaaayyyy structure that
was returned in a previous call to XXXXOOOOppppeeeennnnDDDDiiiissssppppllllaaaayyyy or
XXXXttttDDDDiiiissssppppllllaaaayyyy.
_w_i_n_d_o_w Specifies the window ID of a widget that relates
the application window to the clipboard. The
widget's window ID can be obtained through
XXXXttttWWWWiiiinnnnddddoooowwww. The same application instance should
pass the same window ID to each of the clipboard
functions that it calls.
_t_i_m_e_s_t_a_m_p Specifies the time of the event that triggered the
copy. A valid timestamp must be supplied; it is
not sufficient to use CCCCuuuurrrrrrrreeeennnnttttTTTTiiiimmmmeeee.
RRRREEEETTTTUUUURRRRNNNN
_X_m_C_l_i_p_b_o_a_r_d_S_u_c_c_e_s_s
Page 1 (printed 10/24/98)
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttRRRReeeettttrrrriiiieeeevvvveeee((((3333XXXX))))
The function is successful.
_X_m_C_l_i_p_b_o_a_r_d_L_o_c_k_e_d
The function failed because the clipboard was
locked by another application. The application can
continue to call the function again with the same
parameters until the lock goes away. This gives
the application the opportunity to ask if the user
wants to keep trying or to give up on the
operation.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddEEEEnnnnddddRRRReeeettttrrrriiiieeeevvvveeee(3), XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeCCCCoooouuuunnnntttt(3),
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeFFFFoooorrrrmmmmaaaatttt(3), XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh(3),
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss(3), XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkk(3),
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddRRRReeeettttrrrriiiieeeevvvveeee(3), XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttCCCCooooppppyyyy(3), and
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnlllloooocccckkkk(3).
Page 2 (printed 10/24/98)